<html>
<!--错误输出-->
<div class="form-group">
    <div class="alert alert-danger fade in @if(!count($errors) > 0) hidden @endif" id="alert_error">
        <span>
                    @foreach($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
                </span>
    </div>
</div>

    <form action="{{ route('test_post') }}" method="post">
        {{ csrf_field() }}
        姓名：<input type="text" name="name"><br>
        状态：<input type="number" name="status"><br>
        <input type="submit">
    </form>


    <ul>
        @foreach($lists as $list)
            <li>{{ $list['name'] }}_{{ $list['status'] }}</li>
        @endforeach
    </ul>
</html>
